package me.zhengjie.modules.website.domain;

import java.io.Serializable;
import java.util.Date;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotBlank;
import lombok.Data;
import me.zhengjie.base.BaseEntity;

import javax.persistence.*;

/**
 *
 *
 * @author system
 * @since 2024-10-13 09:38:00
 */
@Entity
@Data
@Table(name = "theme" )
@ApiModel(value = "Theme", description = " ")
public class Theme extends BaseEntity implements Serializable{

    private static final long serialVersionUID=1L;

    /**
     *
     */
    @Column(name = "id" )
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @NotBlank(message = "【 】不能为空")
    private Long id;

    /**
     *
     */
    @Column(name = "theme" )
    @NotBlank(message = "【 】不能为空")
    private String theme;

    /**
     *
     */
    @Column(name = "is_color_changed" )
    @NotBlank(message = "【 】不能为空")
    private Boolean isColorChanged;

    /**
     *
     */
    @Column(name = "image" )
    @NotBlank(message = "【 】不能为空")
    private String image;

    /**
     *
     */
    @Column(name = "is_enabled" )
    @NotBlank(message = "【 】不能为空")
    private Boolean isEnabled;


}